<script type="text/javascript" src="<?php echo base_url()?>/asset_bo/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>/asset_bo/ckfinder/ckfinder.js"></script>
<script type="text/javascript" >
$(document).ready(function(){
	$("#tgl_expired").datepicker({
		dateFormat: 'yy-mm-dd'
	});
});
</script>
<div class="outer-fill shadow padding15">
<!-- style untuk judul -->
            <div class="judul-page">
              Edit Career
            </div>
<div class="col-md-12">
              <form class="form-horizontal" role="form" method="post" action="<?php echo site_url('admin_career/proses_update')?>" onsubmit="return gsValidate('judul','Judul Harus Diisi','required');">
                <div class="form-group">
                  <label class="col-lg-2 control-label">Judul Career</label>
                  <div class="col-lg-10">
                    <input type="text" name="judul" value="<?php echo $hasil['judul']?>" id="judul" class="form-control input-sm" placeholder="judul post">
					<input type="hidden" name="id" value="<?php echo $hasil['id_career']?>" id="id" />
					<input type="hidden" name="tmp_slug" value="<?php echo $hasil['slug']?>" id="tmp_slug" />
                  </div>
                </div>
				<div class="form-group">
                  <label class="col-lg-2 control-label">Tgl Expired</label>
                  <div class="col-lg-10">
                    <input type="text" name="tgl_expired" value="<?php echo $hasil['tgl_expired']?>" id="tgl_expired" class="form-control input-sm" >
                  </div>
                </div>
                
                
                <div class="form-group">
                  <label class="col-lg-2 control-label">Konten</label>
                  <div class="col-lg-10">
                    <textarea class="form-control input-sm" rows="7" name="konten" id="konten" cols="80"><?php echo $hasil['konten']?></textarea>
                  </div>
                </div>
                
               
                <div class="form-group">
                  <div class="col-lg-offset-2 col-lg-10">
                    <button type="submit" class="btn btn-primary btn-sm" name="simpan">Simpan</button>
                    <button type="reset" class="btn btn-warning btn-sm" name="reset">Reset</button>
                  </div>
                </div>
              </form>
            </div>
<div class="clearfix"></div>
</div>
<script type="text/javascript">
var editor=CKEDITOR.replace( 'konten',{					
			extraPlugins : 'autogrow',					
			uiColor: '#DDDAC1',					
			toolbar :[[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','Image' ],						[ 'Styles','Format','Font','FontSize' ],
					['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
					[ 'UIColor','-','Source' ]]		
	} );
CKFinder.setupCKEditor( editor, '<?php echo base_url()?>asset_bo/ckfinder/' ) ;
</script>